package com.zzptc.a11_24.service;

import android.renderscript.Sampler;

import com.zzptc.a11_24.entity.News;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface NewsService {
    @FormUrlEncoded
    @POST("index")
    Call<News> getInfo(@Field("type") String type,@Field("key")String key);
}
